import request from "@/utils/request";
import { ApiReturn } from "@/utils/request";


export class BarkService {

  static async listBark(params: any): ApiReturn<any> {
    return request.get('/postbar', { params })
  }

  static async delete(id: number): ApiReturn<any> {
    return request.delete('/postbar', { params: { id } })
  }

  static async info(id: number): ApiReturn<any> {
    return request.get(`/postbar/${id}`)
  }
  static async listRecruit(params: any): ApiReturn<any> {
    return request.get('/recruit', { params })
  }

}